
<%#= link_to 'New article', new_article_path %>

<div class="row">
  <div class="col-sm-12">
    <h3>博客列表</h3>
    <% @articles.each do |article|  %>
      <div class="article_content">
        <h3 style="text-align: center"><%= link_to article.title, article_path(article) %></h3>
        <p style="text-align: center"><%=  article.name  %></p>
        <p><%= article.text %></p>
      </div>
    <% end %>
  </div>
</div>